extends ../layout

block content
  style
    include index.css
  .navbar.navbar-dark.bg-dark.px-4
    span.navbar-brand.mb-0.h1 Daily
    a.btn.btn-primary(href="/logout") 退出
  canvas#starrySky
  .w-100.home-box
    h1.text-center.pt-5
      span 欢迎登录daily系统

    .d-flex.justify-content-around
      each item in links
        a.btn-entrance(href=item.path) #{item.name}

    script
      include index.js